class NotepadTextarea extends HTMLElement{
    constructor(){
        super();
        this.template = document.createElement("template");
        this.template.innerHTML = this.#html;
        this.appendChild(this.template.content);
        this.querySelector("textarea").focus();
    }
    #html = `
        <div class="notepadtextarea">
            <textarea spellcheck="false" auto-size="none" class="textarea"></textarea>
        </div>
    `;
}
customElements.define("notepad-textarea", NotepadTextarea);
  